#include<bits/stdc++.h>
using namespace std;
const int maxn=1e5+5;
int n;
int num[maxn];
int arr[maxn];
int main(){
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    int n,T;
    cin>>n>>T;
    while(T--){
        cout<<rand()<<endl;
    }
    return 0;
}
// rp++;
